<div id="box" >
	<div class="padding">
		<div id="usertabs">
			<ul>
		      <li><a href="#tabs-1">Kunden</a></li>
		      <li><a href="#tabs-2">Entwickler</a></li>
		      <li><a href="#tabs-3">alle Benutzer</a></li>
		   </ul>
			<div id="tabs-1">
				<table id="usertable" class="tablesorter">
					<thead>
						<tr class="header">
							<th width="10%">BenutzerID</th><th>Name</th><th width="20%">Rolle</th><th width="15%">Aktion</th>
						</tr>
					</thead>
					<tbody>
						<?php 
						foreach($this->clients as $user) { ?>
						<tr class="trow">
							<td><?php print($user['uid']); ?></td>
							<td><?php print($user['firstname']." ".$user['lastname']); ?></td>
							<td><?php print($user['rolename']); ?></td>
							<td><a href="/<?= Zend_Registry::get('Zend_Locale') ?>/users/edit/uid/<?= $user['uid'] ?>">bearbeiten</a> | löschen</td>
						</tr>
						<?php } ?>
					</tbody>
				</table>
			</div>
			<div id="tabs-2">
				<table id="usertable" class="tablesorter">
					<thead>
						<tr class="header">
							<th width="10%">BenutzerID</th><th>Name</th><th width="20%">Rolle</th><th width="15%">Aktion</th>
						</tr>
					</thead>
					<tbody>
						<?php 
						foreach($this->developers as $user) { ?>
						<tr class="trow">
							<td><?php print($user['uid']); ?></td>
							<td><?php print($user['firstname']." ".$user['lastname']); ?></td>
							<td><?php print($user['rolename']); ?></td>
							<td><a href="/<?= Zend_Registry::get('Zend_Locale') ?>/users/edit/uid/<?= $user['uid'] ?>">bearbeiten</a> | löschen</td>
						</tr>
						<?php } ?>
					</tbody>
				</table>
			</div>
			<div id="tabs-3">
				<table id="usertable" class="tablesorter">
					<thead>
						<tr class="header">
							<th width="10%">BenutzerID</th><th>Name</th><th width="20%">Rolle</th><th width="15%">Aktion</th>
						</tr>
					</thead>
					<tbody>
						<?php 
						foreach($this->all as $user) { ?>
						<tr class="trow">
							<td><?php print($user['uid']); ?></td>
							<td><?php print($user['firstname']." ".$user['lastname']); ?></td>
							<td><?php print($user['rolename']); ?></td>
							<td><a href="/<?= Zend_Registry::get('Zend_Locale') ?>/users/edit/uid/<?= $user['uid'] ?>">bearbeiten</a> | löschen</td>
						</tr>
						<?php } ?>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>